

#ifndef EMPLOYEEDAO_STUB_4_APP_H
#define EMPLOYEEDAO_STUB_4_APP_H

#include <string>
#include "c2cent/base/basestub4app.h"
#include "app_platform/cntl_info.h"
#include "intf_employeedao.h"

namespace erp
{
namespace employee
{
namespace dao
{
	#define EMPLOYEEDAO_STUB4APP_VERSION "ERP_EMPLOYEE_DAO___EMPLOYEEDAO__STUB4APP_VERSION__1.0 2013-09-24 14:06:45"
    const std::string EMPLOYEEDAO_STUB4APP_NOUSE = EMPLOYEEDAO_STUB4APP_VERSION;

	class CEmployeeDaoStub4App : public c2cent::CBaseStub4App, public IEmployeeDao, public IEmployeeDaoAsyc
	{
	public:
		uint32_t AddEmployee(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::ddo::CEmployeeDdo& employee,
				const std::string& inReserve,
				std::string& errmsg,
				erp::employee::ddo::CEmployeeDdo& employeeBack,
				std::string& outReserve
	    );
	    uint32_t SendAddEmployee(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::ddo::CEmployeeDdo& employee,
				const std::string& inReserve
	    );
	    uint32_t RecvAddEmployee(
				const CCntlInfo& rCntlInfo,
				std::string& errmsg,
				erp::employee::ddo::CEmployeeDdo& employeeBack,
				std::string& outReserve
	    );
	    
	    uint32_t RecvAddEmployee(
		  		CCmdObj& rCmd,
				std::string& errmsg,
				erp::employee::ddo::CEmployeeDdo& employeeBack,
				std::string& outReserve
	    );
	    
	    uint32_t GetAddEmployeeRespCmd(
	    );
		uint32_t GetEmployeeById(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::ddo::CEmployeeFilterDdo& employeeFilter,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::ddo::CEmployeeDdo >& employees,
				std::string& outReserve
	    );
	    uint32_t SendGetEmployeeById(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::ddo::CEmployeeFilterDdo& employeeFilter,
				const std::string& inReserve
	    );
	    uint32_t RecvGetEmployeeById(
				const CCntlInfo& rCntlInfo,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::ddo::CEmployeeDdo >& employees,
				std::string& outReserve
	    );
	    
	    uint32_t RecvGetEmployeeById(
		  		CCmdObj& rCmd,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::ddo::CEmployeeDdo >& employees,
				std::string& outReserve
	    );
	    
	    uint32_t GetGetEmployeeByIdRespCmd(
	    );
	};

}
}
}

#endif /* EMPLOYEEDAO_STUB_4_APP_H */

